package com.mdhw.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.mdhw.config.R;
import com.mdhw.system.entity.SysDictData;
import com.mdhw.system.entity.SysDictType;
import com.mdhw.system.vo.YonghuXieyiVo;

import java.util.List;

public interface SysDictTypeService extends IService<SysDictType> {

    /**
     * 增加数据字典 Type
     * @param sysDictType
     * @return
     */
    public R<String> addDictType(SysDictType sysDictType);

    /**
     * 修改数据字典 Type
     * @param sysDictType
     * @return
     */
    public R<String> updateDictType(SysDictType sysDictType);

    /**
     * 删除数据字典 Type
     * @param id
     * @return
     */
    public R<String> deleteDictType(Long id);


    public R<YonghuXieyiVo> selectYonghuXieyi();
}
